<html><head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="/css/bootstrap.min.css">

    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="/js/jquery-2.2.4.min.js"></script>

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="/css/bootstrap.css">
    <link rel="stylesheet" href="/css/bootstrap-fileinput.css">
    <script src="/js/jquery-2.2.4.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>
    <script src="/js/bootstrap-fileinput.js"></script>

    <title>Title</title>
    <style type="text/css">
        .namebox{
            width: 100%;
            white-space: nowrap;
            overflow: hidden;/*超出部分隐藏*/
            text-overflow: ellipsis;/*用...代替超出部分*/
            text-align: center;
        }
        a:focus{text-decoration: none}
    </style>
    <script>
        $(function() {
            $( "#pdate" ).datepicker();
        });
    </script>
</head>
<body>

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
<!-- 新 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="static/css/bootstrap.min.css">

<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="/static/jquery/jquery-2.2.4.min.js"></script>

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="/static/js/bootstrap.min.js"></script>

<script type="text/javascript">
    $(document).ready(function(){
        /* var wd = $(".nav-pills").width();*/
        jQuery(window).scroll(function() {
            $("#top_cate").css("z-index", 9999);
        });

        $("#top_cate").affix({
            offset: {
                top: 25,
                bottom: function () {
                    return (this.bottom = $('.bottom').outerHeight(true));
                }

            }
        });
    });
</script>

<div class="container">
    <div class="row">

        <div class="col-md-12 text-right">



        </div>

        <div class="col-md-12 " id="top_cate">

        </div>
    </div>

</div>
<div class="container">
    <div class="row clearfix">


        <div class="col-md-10 column">
            <div class="row">
                <h3 style="text-align: center">信息修改</h3>
            </div>
            <form class="form-horizontal" role="form" action="/editProduct" enctype="multipart/form-data" method="post">
                <input type="hidden" name="pid" value="5">
                <input type="hidden" name="oldImage" value="products/1/cs10005.jpg">
                <input type="hidden" name="page" value="1">
                <div class="row">

                    <div class="col-lg-6" style="padding: 20px">

                        <div class="form-group">
                            <label for="pname" class="col-sm-3 control-label">用户名称</label>
                            <div class="col-sm-8">
                               ${user.username}
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="pemail" class="col-sm-3 control-label">用户邮箱</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" id="pprice" name="price" value="238.0">
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="pphone" class="col-sm-3 control-label">用户电话</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" id="pdisprice" name="disprice" value="119.0">
                            </div>
                        </div>


                    </div>
                    <div class="col-lg-6">
                        <div style="text-align: center">

                            <div class="form-group">


                            </div>
                        </div>
                    </div>
                </div>
                <div class="row" style="margin: 20px auto">
                    <div>
                        <label for="pautograph" class="col-sm-3 control-label">个性签名</label>
                        <div class="col-sm-8">
                            <textarea name="pdesc" id="" cols="70" rows="5"/>
                            ${user.autograph}
                        </div>
                    </div>
                    <div class="form-group" style="text-align: center">
                        <div class="col-sm-offset-5 col-sm-12" style="margin: 30px auto">
                            <input type="submit" class="btn btn-default btn-primary">
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>



<div class="bottom">
    <nav id="bottomNav">
        <div class="col-md-12">


        </div>
    </nav>
</div>




</body></html>